<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>大数据融合与挖掘分析平台</title>
    <link href="/css/common.css" type="text/css" rel="stylesheet">
    <link href="/css/login.css" type="text/css" rel="stylesheet">
    <script src="/js/jquery-3.2.1.min.js"></script>
    <script src="/js/alert.js"></script>
</head>

<body>
<div class="jzy_w_max jzy_h_360 br_14" style="background-color:#06164A"></div>
<div class="logo" style="width:600px">大数据融合与挖掘分析平台</div>
<section class="content_box cleafix">
    <div class="left_area fl">
        <div class="form_head">
            <ul class="form_head clearfix">
                <li class="active">密码登录</li>
            </ul>
            <span class="tab_active"></span>
        </div>
        <div class="form_body" data-view="passwordLogin">
            <form action="/login.do" method="post">
                <div class="input_item clearfix" style="display: block;">
                    <input type="text" id="username" name="username" class="input input_white" placeholder="请输入常用手机号/邮箱">
                </div>
                <div class="input_item clearfix" style="display: block;">
                    <input type="password" id="password" name="password"  class="input input_white" placeholder="请输入密码">
                    <span class="help-block" style="color: red" th:text="${err}" th:if="${not #strings.isEmpty(err)}"></span>
                </div>
                <!--<div class="input_item clearfix" style="display: block;">
                    <div class="input_group clearfix">
                        <input type="text" id="vif" class="input input_white verify_code_input fl" placeholder="请证明你不是机器人">
                        <img src="/images/create.jpg" alt="点击重试" class="yzm" width="98" height="40">
                        <a rel="nofollow" href="javascript:;" class="reflash"></a>
                    </div>
                </div>-->
                <!--<div class="input_item clearfix">
                    <a rel="nofollow" href="" class="forgot_pwd">忘记密码？</a>
                </div>-->
                <div class="input_item btn_group clearfix" style="display: block;">
                    <button class="btn btn_green btn_active btn_block btn_lg">登录</button>
                </div>
            </form>
        </div>
        <div class="form_body"></div>
    </div>
    <!--<div class="divider fl"></div>-->
   <!-- <div class="right_area fl">
        <h5>还没有帐号:</h5>
        <a href="" class="register_now">立即注册</a>
    </div>-->
</section>

<script>
    $(".btn_group .btn_lg").click(function() {
        var phone = $('#phone').val();
        var password = $('#password').val();
        var vif = $('#vif').val();
        if (phone == '') {
            popup('请输入手机号');
            return false;
        }
        if (password == '') {
            popup('请输入密码');
            return false;
        }
    });
</script>
</body>
</html>
